﻿#ifndef SYSDEF_H
#define SYSDEF_H

#include <afxtempl.h>

typedef struct tagSysConfig
{
	char   szTitle[128];

	int  nLocal_UdpPort;

	char szLed_ID[16];
	char szLed_IP[32];
	int  nLed_UdpPort;

	//char szLed_File[MAX_PATH];

	char szSys_Path[MAX_PATH];
	char szModule_Name[MAX_PATH];
	char szModule_Path[MAX_PATH];
	char szLed_Path[MAX_PATH];

	char szINI[MAX_PATH];

	BOOL  bLogMsg; //
};

typedef CList<CString, CString&> tagStringList;

typedef struct tagTip_Info
{
	HWND hWnd;
	char szTime[32];
	char szInfo[32 * 1024];
};

typedef CList<tagTip_Info, tagTip_Info&> tagTip_InfoList;

typedef enum ANIMATE_MODE
{
	ANIMATE_LEFT,
	ANIMATE_RIGHT
}enumAnimate_Mode;

typedef struct tagBMP_INFO
{
	CRect   rc;
	HBITMAP hBmp;
	CBitmap cBmp;  //
	CDC     dc;   //DC
	BITMAPFILEHEADER bmfh;
	BITMAPINFO bmi;
	BYTE    *pBits;
};

#endif